import FlexSearch from "flexsearch";

const index = new FlexSearch.Index();

index.add(0, "some index");
index.append(0, "some appended content");

index.add(1, "some text");
index.append(1, "index appended content");

console.log(index.search("index"));
